﻿package mlc.haxe.input.command;

/**
 * A command that can be executed.
 */
interface ExecutableCommand {
	/**
	 * Executes the command.
	 */
	public function execute(arguments:Array<String>, writeError:String -> Void):Void;
	/**
	 * Determines whether the passed command equals this one. Returns true if they are equal; false otherwise.
	 */
	public function determineEquals(value:ExecutableCommand):Bool;
}